package library.and.xps.com.step.m.model;


import java.util.List;

public class CreateTeamResponce extends BaseResponce {

    @Override
    public String toString() {
        return "CreateTeamResponce{" +
                "obj=" + obj.toString() +
                ", list=" + list.toString() +
                '}';
    }

    /**
     * obj : {"tname":"6测试","enterprise":"测试","enterpriseid":82,"type":1,"address":"1","description":"描述","mark":"2928540c-7d1f-4d8e-a9dc-621565964f6b","creater":6,"role":1,"email":"790928421@qq.com","createtime":1494819557834,"departmentid":0,"userid":0,"number":3,"teamid":80,"createnickname":"zhoupan"}
     * list : [{"enterpriseId":82,"ename":"测试","type":1,"mark":"2928540c-7d1f-4d8e-a9dc-621565964f6b","description":"描述","address":"1"},{"teamId":80,"tname":"6测试","creater":6,"password":"123","createtime":1494819557834,"enterpriseId":82},{"departmentId":80,"dName":"默认部门","teamId":80,"parentId":0}]
     */

    private ObjBean obj;
    private List<ListBean> list;

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ObjBean {


        /**
         * tname : 6测试
         * enterprise : 测试
         * enterpriseid : 82
         * type : 1
         * address : 1
         * description : 描述
         * mark : 2928540c-7d1f-4d8e-a9dc-621565964f6b
         * creater : 6
         * role : 1
         * email : 790928421@qq.com
         * createtime : 1494819557834
         * departmentid : 0
         * userid : 0
         * number : 3
         * teamid : 80
         * createnickname : zhoupan
         */

        private String tname;
        private String enterprise;
        private int enterpriseid;
        private int type;
        private String address;
        private String description;
        private String mark;
        private int creater;
        private int role;
        private String email;
        private long createtime;
        private int departmentid;
        private int userid;
        private int number;
        private int teamid;
        private String createnickname;

        public String getTname() {
            return tname;
        }

        public void setTname(String tname) {
            this.tname = tname;
        }

        public String getEnterprise() {
            return enterprise;
        }

        public void setEnterprise(String enterprise) {
            this.enterprise = enterprise;
        }

        public int getEnterpriseid() {
            return enterpriseid;
        }

        public void setEnterpriseid(int enterpriseid) {
            this.enterpriseid = enterpriseid;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public int getCreater() {
            return creater;
        }

        public void setCreater(int creater) {
            this.creater = creater;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public long getCreatetime() {
            return createtime;
        }

        public void setCreatetime(long createtime) {
            this.createtime = createtime;
        }

        public int getDepartmentid() {
            return departmentid;
        }

        public void setDepartmentid(int departmentid) {
            this.departmentid = departmentid;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getTeamid() {
            return teamid;
        }

        public void setTeamid(int teamid) {
            this.teamid = teamid;
        }

        public String getCreatenickname() {
            return createnickname;
        }

        public void setCreatenickname(String createnickname) {
            this.createnickname = createnickname;
        }
        @Override
        public String toString() {
            return "ObjBean{" +
                    "tname='" + tname + '\'' +
                    ", enterprise='" + enterprise + '\'' +
                    ", enterpriseid=" + enterpriseid +
                    ", type=" + type +
                    ", address='" + address + '\'' +
                    ", description='" + description + '\'' +
                    ", mark='" + mark + '\'' +
                    ", creater=" + creater +
                    ", role=" + role +
                    ", email='" + email + '\'' +
                    ", createtime=" + createtime +
                    ", departmentid=" + departmentid +
                    ", userid=" + userid +
                    ", number=" + number +
                    ", teamid=" + teamid +
                    ", createnickname='" + createnickname + '\'' +
                    '}';
        }
    }

    public static class ListBean {


        /**
         * enterpriseId : 82
         * ename : 测试
         * type : 1
         * mark : 2928540c-7d1f-4d8e-a9dc-621565964f6b
         * description : 描述
         * address : 1
         * teamId : 80
         * tname : 6测试
         * creater : 6
         * password : 123
         * createtime : 1494819557834
         * departmentId : 80
         * dName : 默认部门
         * parentId : 0
         */

        private int enterpriseId;
        private String ename;
        private int type;
        private String mark;
        private String description;
        private String address;
        private int teamId;
        private String tname;
        private int creater;
        private String password;
        private long createtime;
        private int departmentId;
        private String dName;
        private int parentId;

        public int getEnterpriseId() {
            return enterpriseId;
        }

        public void setEnterpriseId(int enterpriseId) {
            this.enterpriseId = enterpriseId;
        }

        public String getEname() {
            return ename;
        }

        public void setEname(String ename) {
            this.ename = ename;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getTeamId() {
            return teamId;
        }

        public void setTeamId(int teamId) {
            this.teamId = teamId;
        }

        public String getTname() {
            return tname;
        }

        public void setTname(String tname) {
            this.tname = tname;
        }

        public int getCreater() {
            return creater;
        }

        public void setCreater(int creater) {
            this.creater = creater;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public long getCreatetime() {
            return createtime;
        }

        public void setCreatetime(long createtime) {
            this.createtime = createtime;
        }

        public int getDepartmentId() {
            return departmentId;
        }

        public void setDepartmentId(int departmentId) {
            this.departmentId = departmentId;
        }

        public String getDName() {
            return dName;
        }

        public void setDName(String dName) {
            this.dName = dName;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        @Override
        public String toString() {
            return "ListBean{" +
                    "enterpriseId=" + enterpriseId +
                    ", ename='" + ename + '\'' +
                    ", type=" + type +
                    ", mark='" + mark + '\'' +
                    ", description='" + description + '\'' +
                    ", address='" + address + '\'' +
                    ", teamId=" + teamId +
                    ", tname='" + tname + '\'' +
                    ", creater=" + creater +
                    ", password='" + password + '\'' +
                    ", createtime=" + createtime +
                    ", departmentId=" + departmentId +
                    ", dName='" + dName + '\'' +
                    ", parentId=" + parentId +
                    '}';
        }
    }
}
